package com.example.userservice.pojo;

import lombok.Data;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.List;

@Table(name = "tb_org")
@Data
public class Org implements Serializable {
    private Long id;
    private Long parentId;
    private String name;
    private String department;
    private List<Org> children;
}
